package pl.prv.polanie.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;

public class CSRoomDTO extends Object implements IsSerializable, ICSDTO {

	private long id;
	private String name;
	private Long capacity;
	
	private long buildingID;
	private long roomTypeID;	

	public CSRoomDTO() {}
	
	
	
	
	public CSRoomDTO(long id, String name, Long capacity, long buildingID,
			long roomTypeID) {
		super();
		this.id = id;
		this.name = name;
		this.capacity = capacity;
		this.buildingID = buildingID;
		this.roomTypeID = roomTypeID;
	}




	public long getId() {
		return id;
	}




	public void setId(long id) {
		this.id = id;
	}




	public String getName() {
		return name;
	}




	public void setName(String name) {
		this.name = name;
	}




	public Long getCapacity() {
		return capacity;
	}




	public void setCapacity(Long capacity) {
		this.capacity = capacity;
	}




	public long getBuildingID() {
		return buildingID;
	}




	public void setBuildingID(long buildingID) {
		this.buildingID = buildingID;
	}




	public long getRoomTypeID() {
		return roomTypeID;
	}




	public void setRoomTypeID(long roomTypeID) {
		this.roomTypeID = roomTypeID;
	}




	public String toString() {
		String result = "" +
			"[ " + CSRoomDTO.class + "]" +
			"name: " + name + 
			", capacity: " + capacity +
			", buildingID: " + buildingID +
			", roomTypeID: " + roomTypeID
			;
		return result;
	}
	
//	public String toLabel() {
//		String r = "" + 
//			getName() + " " +
//			"(" + getRoomType().getName() + ")";
//		return r;
//	}
//	
}
